import Vue from 'vue'
import Router from 'vue-router'
import home from './map/home'
import set from './map/set'
import integral from './map/integral'
import promot from './map/promot'
import trade from './map/trade'
import game from './map/game'
import my from './map/my'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/home',
      hidden: true
    },
    home, set, integral, promot, game, trade, my
  ]
})
